home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CUJ9206.ARJ / 1006074B < prev    next >
Text File  |  1992-06-02  |  387b  |  21 lines

  1. #include "makedef.h"
  2.  
  3. main(int argc, char *argv[])
  4. {
  5. long    status;
  6. TARGET    *adjacency_list;
  7. char    target[ DEP_LEN ] = {0};
  8.  
  9. if (adjacency_list = parse_makefile(argc, argv, target)) {
  10.     status = process_dependency(adjacency_list, target);
  11.     exit(status);
  12. } else
  13.     fatal_error("No dependencies in makefile.");
  14. }
  15.  
  16. long    fatal_error(char *s)
  17. {
  18. printf("\nFatal error: %s",s);
  19. exit(FAIL);
  20. }
  21.